var days = new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi");
var months = new Array("janvier", "f&eacute;vrier", "mars", "avril", "mai", "juin", "juillet", "ao&ucirc;t", "septembre", "octobre", "novembre", "d&eacute;cembre");

function addZero(HMS) {
	return (HMS < 10 ? "0" + HMS : HMS)
}

function renderDate(){
	var mydate = new Date();
	var year = mydate.getFullYear();
	var day = mydate.getDay();
	var month = mydate.getMonth();
	var daym = mydate.getDate();
	var hours = mydate.getHours();
	var minutes = mydate.getMinutes();
	var seconds = mydate.getSeconds();
	daym = addZero(daym);
	hours = addZero(hours);
	minutes = addZero(minutes);
	seconds = addZero(seconds);
	var display = days[day] + "&nbsp;" + daym + "&nbsp;" + months[month] + "&nbsp;" + year + "&nbsp;&nbsp;&#45;&nbsp;&nbsp;" + hours + "&#58;" + minutes + "&#58;" + seconds;
	document.getElementById("currentDate").innerHTML = display;
	setTimeout("renderDate()", 1000);
}